package com.invest.quartz.task;

import com.invest.common.utils.spring.SpringUtils;
import com.invest.task.riskfree.RiskFreeRate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * @projectName: invest
 * @author: yuch
 * @description: TODO
 * @date: 2025/1/15 16:24
 */


@Component
@Slf4j
public class RiskFreeTask {


    public void start() throws IOException {
        log.info("获取无风险利率请求！");
        RiskFreeRate bean = SpringUtils.getBean(RiskFreeRate.class);
        bean.start();
    }
}
